<template>
    <div>
        主页面  {{authStore.user}}
    </div>
</template>

<script setup>
import { useAuthStore } from '@/stores/user'

const authStore = useAuthStore()

// 访问用户信息
console.log(authStore.user)
console.log(authStore.userAvatar)

</script>

<style lang="scss" scoped>

</style>